package main

import "fmt"

//type Vector []float64
//
//func (v Vector) DoSome(i,n int,u Vector,c chan int)  {
//	for ;i<n;i++ {
//		v[i] += u.Op(u[i])
//	}
//	c <- 1
//}
//
//func (v Vector) DoAll(u Vector)  {
//
//}

func main() {
	var a int = 1
	var b *int = &a
	var c **int = &b
	var x int = *b
	fmt.Println("a = ",a)
	fmt.Println("&a = ",&a)
	fmt.Println("*&a = ",*&a)
	fmt.Println("b = ",b)
	fmt.Println("&b = ",&b)
	fmt.Println("*&b = ",*&b)
	fmt.Println("*b = ",*b)
	fmt.Println("c = ",c)
	fmt.Println("*c = ",*c)
	fmt.Println("&c = ",&c)
	fmt.Println("*&c = ",*&c)
	fmt.Println("**c = ",**c)
	fmt.Println("***&*&*&*&c = ",***&*&*&*&*&c)
	fmt.Println("x = ",x)
}
